Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Text.​Json.​Serialization.​Metadata.​JsonCollectionInfoValues<​TCollection>

Assembly: System.Text.Json

Inheritance: object → JsonCollectionInfoValues

Provides serialization metadata about a collection type.

Properties

public JsonTypeInfo
ElementInfo
A <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo" /> instance representing the element type.
public JsonTypeInfo
KeyInfo
If a dictionary type, the <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo" /> instance representing the key type.
NumberHandling
The <see cref="T:System.Text.Json.Serialization.JsonNumberHandling" /> option to apply to number collection elements.
public Func<​TCollection>
ObjectCreator
A <see cref="T:System.Func`1" /> to create an instance of the collection when deserializing.
public Action<​Utf8JsonWriter, TCollection>
SerializeHandler
An optimized serialization implementation assuming pre-determined <see cref="T:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute" /> defaults.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object